import Vue from 'vue';
import VueRouter from 'vue-router';

Vue.use(VueRouter);

import RegistrationForm from '@/views/RegistrationForm.vue';
import login from '@/views/login.vue';

const routes = [
  {
    path: '/',
    name: 'RegistrationForm',
    component: RegistrationForm,
  },
  {
    path: '/login',
    name: 'login',
    component: login,
  },
  // 其他路由配置...
];

const router = new VueRouter({
  routes,
});

export default router;
